package com.iOS.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class PushInfo {
    private int id;
    private int userId;
    private String pushTitle;
    private String pushContext;
    private String pushPictures;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getPushTitle() {
        return pushTitle;
    }

    public void setPushTitle(String pushTitle) {
        this.pushTitle = pushTitle;
    }

    public String getPushContext() {
        return pushContext;
    }

    public void setPushContext(String pushContext) {
        this.pushContext = pushContext;
    }

    public String getPushPictures() {
        return pushPictures;
    }

    public void setPushPictures(String pushPictures) {
        this.pushPictures = pushPictures;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "PushInfo{" +
                "id="+id+
                "user_id="+userId+
                "push_title="+pushTitle+
                "push_context="+pushContext+
                "push_picture="+pushPictures+
                "create_time="+createTime+
                "}";
    }
}
